<?php
/**
 * @Author: rocky
 * @Copyright: 广州拓冠科技 <http://my8m.com>
 * Date: 2019/8/29
 * Time: 10:01
 */


namespace app\shop\validate;


use app\common\validate\BaseValidate;

class AddressValidate extends BaseValidate
{
    protected $rule = [
        'name' => 'require',
        'phone' => 'require|mobile',
        'province' => 'require',
        'city' => 'require',
        'area' => 'require',
        'address' => 'require',
        'is_default' => 'require|between:0,1'
    ];
}